﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TBlog.Web.Models;

namespace TBlog.Web.ViewModel
{
    public class ViewArticle : BaseEntity
    {
        public string Title { get; set; }
        public string Description { get; set; }
        public string Content { get; set; }
        public string Author { get; set; }
        public bool IsTop { get; set; }
        /// <summary>
        /// 点击量
        /// </summary>
        public int Hits { get; set; }
        /// <summary>
        /// 所属分类
        /// </summary>
        public int CategoryID { get; set; }

        public string Tags { get; set; }
        /// <summary>
        /// 发布状态1，发布，2存草稿，3删除
        /// </summary>
        public int State { get; set; }
    }
}